How to rebuild the Editor 

1) You need FPC 2.X.x (I use the 2.0.0) 
2) Copy all sources in the same directory. 
    The main source is editorXXX.pas, where XXX is the version of the program. 
3) Do "fpc editorXXX.pas"

To optimize I do "FPC -Og -O3 editorXXX.pas" and then UPX. 
The options in later versions of FPC have changed.

In the version for BeOS (Haiku) / MacOs is necessary to rename some files, 
changing capital letters with lowercase (and vice versa).